
<div id="main-inner">
  <div class="title">智能估值</div>
  <div class="attr-pre">
    <div class="pre-title">装备属性预览</div>
    <div class="pre-main"> 
      <div class="name-line">
        <div class="name-title">装备名称</div>
        <div class="name">裂创心灵之刃</div>
      </div>
      <div class="attr-line">
        <div class="attr-title">属性预览</div>
        <div class="attrs">
          <div ng-repeat="(key,value) in attrPre" class="oneattr"><span class="attr-name">{{key}}</span><span>:</span><span class="value">{{value}}</span></div>
        </div>
      </div>
    </div>
  </div>
  <div class="attr-pre">
    <div class="pre-title">自定义装备属性</div>
    <div class="pre-main"> 
      <div class="name-line">
        <div class="name-title">添加属性</div>
        <div id="select" class="name"> 
          <label>选择添加属性
            <select id="attr-select" ng-model="nowAttrKind">
              <option value="强化">强化</option>
              <option value="力量">力量</option>
              <option value="敏捷">敏捷</option>
            </select>
          </label>
          <label>选择相应数值
            <select id="attr-select" ng-model="nowAttrValue">
              <option value="10">10</option>
              <option value="20">20</option>
              <option value="30">30</option>
            </select>
          </label>
          <input type="button" value="添加" ng-click="addAttr()"/>
        </div>
      </div>
      <div class="attr-line">
        <div class="attr-title">已添加属性</div>
        <div id="added" class="attrs">
          <div ng-repeat="(key,value) in nowAdded" class="oneattr added-attr"><span class="attr-name">{{key}}  {{value}}</span>
            <div data-key="{{key}}" ng-click="deleteAttr($event)" class="close-attr"><img src="/static/img/close.svg"/></div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="btn-outer">
    <button id="submit" ng-click="estimate()">确定 </button>
  </div>
</div>
<div ng-show="resultShow" class="result-pop-outer">
  <div class="result-popup">
    <div class="res-title">估值成功！</div>
    <p>您自定义的装备经过我们的智能估值，价格为</p>
    <div class="inputs-outer">
      <div class="clear-outer">
        <div class="rmb">1000</div>
        <div class="danwei">元（人民币价格）</div>
      </div>
      <div class="clear-outer">
        <div class="gm">200.00</div>
        <div class="danwei">(游戏币价格)</div>
      </div>
    </div>
    <button id="continue" ng-click="continue()">继续估值</button>
  </div>
</div>